package com.ruoyi.eqmonitor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * @author ruoyi
 * @date 2024-07-04
 */
public class OptDeviceAlarmDayData extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** 1 */
    private Long id;

    /** 2 */
    @Excel(name = "2")
    private Long alarmId;

    /** 3 */
    @Excel(name = "3")
    private String day1;

    /** 4 */
    @Excel(name = "4")
    private String day2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmId(Long alarmId) 
    {
        this.alarmId = alarmId;
    }

    public Long getAlarmId() 
    {
        return alarmId;
    }
    public void setDay1(String day1) 
    {
        this.day1 = day1;
    }

    public String getDay1() 
    {
        return day1;
    }
    public void setDay2(String day2) 
    {
        this.day2 = day2;
    }

    public String getDay2() 
    {
        return day2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmId", getAlarmId())
            .append("day1", getDay1())
            .append("day2", getDay2())
            .toString();
    }
}